home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_100
/
163_01
/
ferror.c
< prev
next >
Wrap
Text File
|
1988-01-30
|
384b
|
10 lines
/*
** test for error on stream
*/
#define FILE int
#include "streamio.h"
ferror(stream) FILE *stream; {
return ((stream[_IOB_FLAG] & _ERR) != 0);
}